package com.example.demo.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @program: demo
 * @ClassName LevelBean
 * @description:
 * @author: xtf
 * @create: YEAR−{MONTH}-DAY{HOUR}:52
 * @Version 1.0
 **/


// getter setter  tostring  equals hashcode
@Data
@JsonIgnoreProperties("handler")
//@ApiModel("会员等级")
@ApiModel(value = "会员等级",description = "会员等级基本信息name等级名称")
public class LevelBean implements Serializable {


    private Integer id;
    @ApiModelProperty("等级名称")
    private  String name;
    @ApiModelProperty(value = "等级经验值",name = "等级",required = true,example = "200")
    private  Integer score;
//    @ApiModelProperty(hidden = true)
//    private List<UserBean> users;

}